package com.api.shopapi.service;

import com.api.shopapi.entity.GoodsSize;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsSizeService {
    int insert(GoodsSize goodsSize);

    int update(GoodsSize goodsSize);

    GoodsSize getByName(String name);

    GoodsSize getByGoodsSizeCode(String goodsSizeCode);

    PageInfo<GoodsSize> getList(int pageIndex,
                                int pageSize,
                                int status,
                                String name);

    List<GoodsSize> getAllList();


}
